// Package stockblock
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2024 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.13.1
package stockblock

import (
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询板块轮动列表
type ListReq struct {
	g.Meta `path:"/stockBlock/list" method:"get" tags:"板块轮动" summary:"获取板块轮动列表"`
	sysin.StockBlockListInp
}

type ListRes struct {
	Items  []*ListResItem `json:"items"`
	Static []*sysin.StockBlockListModel
}
type ListResItem struct {
	Date        string                                        `json:"date"`
	List        []*sysin.StockBlockListModel                  `json:"list"   dc:"数据列表"`
	DetailItems map[string][]*sysin.StockBlockDetailListModel `json:"detailItems"   dc:"数据列表"`
}

// ExportReq 导出板块轮动列表
type ExportReq struct {
	g.Meta `path:"/stockBlock/export" method:"get" tags:"板块轮动" summary:"导出板块轮动列表"`
	sysin.StockBlockListInp
}

type ExportRes struct{}

// ViewReq 获取板块轮动指定信息
type ViewReq struct {
	g.Meta `path:"/stockBlock/view" method:"get" tags:"板块轮动" summary:"获取板块轮动指定信息"`
	sysin.StockBlockViewInp
}

type ViewRes struct {
	*sysin.StockBlockViewModel
}

// EditReq 修改/新增板块轮动
type EditReq struct {
	g.Meta `path:"/stockBlock/edit" method:"post" tags:"板块轮动" summary:"修改/新增板块轮动"`
	sysin.StockBlockEditInp
}

type EditRes struct{}

// DeleteReq 删除板块轮动
type DeleteReq struct {
	g.Meta `path:"/stockBlock/delete" method:"post" tags:"板块轮动" summary:"删除板块轮动"`
	sysin.StockBlockDeleteInp
}

type DeleteRes struct{}
